﻿<%@ Page Title="" Language="C#" MasterPageFile="~/HomePage.master" AutoEventWireup="true"
    CodeFile="AnhDep.aspx.cs" Inherits="AnhDep" %>

<%@ Register Assembly="PagerControl" Namespace="CutePager" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    <title>Ảnh đẹp | <%=Common.home %></title>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder2" runat="Server">
    <dx:BlogMod runat="server" ID="blog"/>
    <dx:VideoMod runat="server" ID="video" />
    <dx:SachMod runat="server" ID="sachhay" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <asp:HiddenField ID="H_PageCount" Value="0" runat="server" />
    <asp:HiddenField ID="H_PageCount2" Value="0" runat="server" />
    <asp:HiddenField ID="H_IdBoSuuTap" Value="0" runat="server" />
    <span class="path_chude">
        <asp:HyperLink ID="Hyperlink13" CssClass="icon_sub" runat="server" NavigateUrl="~/">Trang chủ</asp:HyperLink>
    </span><span class="path_chude">
        <asp:HyperLink ID="Hyperlink1" CssClass="icon_sub" runat="server" NavigateUrl="#">Album Ảnh Đẹp</asp:HyperLink></span>
    <!--Album ảnh của bé-->
    <asp:UpdatePanel ID="UpdatePanel20" runat="server">
        <ContentTemplate>
            <div id="albumanhdep">
                <asp:DataList ID="dlAnhDep" runat="server" RepeatColumns="3" RepeatDirection="Horizontal"
                    Width="90%">
                    <ItemTemplate>
                        <div class="albumanhdep_khunghinh">
                            <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl='<%# "~/hinhanh/" + Eval("Id") + "_" + GetTieuDe(Eval("Ten")) + ".aspx"%>'>
                                <asp:Image runat="server" ID="Image2" BorderWidth="0" ImageUrl='<%# GetImageBoSuuTap(Eval("Id"))%>' />
                            </asp:HyperLink>
                            <div style="font-size: 11pt; text-align: center; margin-left: -55px; padding-top: 10px">
                                <span style="font-weight: bold;">
                                    <%# Eval("Ten")%></span></div>
                        </div>
                    </ItemTemplate>
                </asp:DataList>
            </div>
            <div class="detail_content_bottom_anhdep" style="text-align: right;">
                <table align="right" style="padding-right: 15px">
                    <tr>
                        <td>
                            <asp:ImageButton ID="cmdPrevious" ImageUrl="~/Images/quaylai.png" runat="server"
                                OnClick="cmdPrevious_Click" />
                        </td>
                        <td>
                            <cc1:Pager ID="Pager1" runat="server" PageClause="Trang " PageSize="9" OnCommand="Pager1_Command"
                                ForeColor="#006600" Font-Bold="True" />
                        </td>
                        <td>
                            <asp:ImageButton ID="cmdNext" ImageUrl="~/Images/tientoi.png" runat="server" OnClick="cmdNext_Click" />
                        </td>
                    </tr>
                </table>
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
    <div>&nbsp</div>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
            <div id="albumthoau">
                <asp:DataList ID="dlthoau" runat="server" RepeatColumns="3" RepeatDirection="Horizontal"
                    Width="90%">
                    <ItemTemplate>
                        <div class="albumanhdep_khunghinh">
                            <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl='<%# "~/hinhanh/" + Eval("Id") + "_" + GetTieuDe(Eval("Ten")) + ".aspx"%>'>
                                <asp:Image runat="server" ID="Image2" BorderWidth="0" ImageUrl='<%# GetImageBoSuuTap(Eval("Id"))%>' />
                            </asp:HyperLink>
                            <div style="font-size: 11pt; text-align: center; margin-left: -55px; padding-top: 10px">
                                <span style="font-weight: bold;">
                                    <%# Eval("Ten")%></span></div>
                        </div>
                    </ItemTemplate>
                </asp:DataList>
            </div>
            <div class="detail_content_bottom_anhthoau" style="text-align: right;">
                <table align="right" style="padding-right: 15px">
                    <tr>
                        <td>
                            <asp:ImageButton ID="ImageButton1" ImageUrl="~/Images/quaylai.png" runat="server"
                                OnClick="cmdPrevious_Click2" />
                        </td>
                        <td>
                            <cc1:Pager ID="Pager2" runat="server" PageClause="Trang " PageSize="9" OnCommand="Pager1_Command"
                                ForeColor="#006600" Font-Bold="True" />
                        </td>
                        <td>
                            <asp:ImageButton ID="ImageButton2" ImageUrl="~/Images/tientoi.png" runat="server"
                                OnClick="cmdNext_Click2" />
                        </td>
                    </tr>
                </table>
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>
